package com.xiaoke.service;

import com.xiaoke.entity.Channel;
import com.xiaoke.mapper.ChannelMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
public interface ChannelService {

    @GetMapping("/channel/findByShop")
    List<Channel> findByShop(@RequestParam("shopId") String shopId);
}
